package com.ccjk.beusoft.plugin.lib;

import android.content.pm.PackageInfo;
import android.content.res.AssetManager;
import android.content.res.Resources;

/**
 * Created by CCJK on 2017/12/2.
 */

public final class PluginPackage {
    public String packageName;
    public String defaultActivityClassName;
    public ClassLoader pluginClassLoader;
    public PackageInfo packageInfo;
    public Resources resources;
    public AssetManager assetManager;

    public PluginPackage(String packageName, String defaultActivityClassName,
                         ClassLoader pluginClassLoader, PackageInfo packageInfo,
                         Resources resources, AssetManager assetManager) {
        this.packageName = packageName;
        this.defaultActivityClassName = defaultActivityClassName;
        this.pluginClassLoader = pluginClassLoader;
        this.packageInfo = packageInfo;
        this.resources = resources;
        this.assetManager = assetManager;
    }
}
